-- GENERATED SPELL FOR [Tundra Crawler] --


function spell0_25454(pUnit, Event) --@Corrosive Poison,n/a--
pUnit:FullCastSpellOnTarget(50293,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25454', 13500, 1)
end

function Sorts_25454(pUnit, Event)
local choix_sorts_25454 = math.random(0, 0)
if choix_sorts_25454 == 0 then
pUnit:RegisterEvent('spell0_25454', 1, 1)
end
end

function mob25454_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25454', math.random(1500, 3000), 1)
end

function mob25454_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25454_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25454_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25454, 1, 'mob25454_Action')
RegisterUnitEvent(25454, 2, 'mob25454_Leave')
RegisterUnitEvent(25454, 3, 'mob25454_Kill')
RegisterUnitEvent(25454, 4, 'mob25454_Die')
